$(function() {
	$("#mtabset").fixedTabset({
		// 第一次唤醒标签时触发
		'onFirstTabClick' : function(target) {
			switch (target) {
			case "MD5Frm":
				break;
			case "BASE64Frm":
				break;
			}

		}
	});
});
var DevWidgetsPage = {
	'toMd5' : function() {
		toMd5Ajax.send();
	},
	'toBASE64' : function() {
		toBASE64Ajax.send();
	},
	'fromBASE64' : function() {
		fromBASE64Ajax.send();
	},
	'onConvertToMd5Succ' : function(data, status, xhr) {
		$("#MD5Frm").find("input[name='value']").val(data.info);
	},
	'onConvertToBase64Succ' : function(data, status, xhr) {
		$("#BASE64Frm").find("input[name='value']").val(data.info);
	},
	'onJsonFomatterSucc' : function(data, status, xhr) {
		$("#JSONFrm").find("textarea[name='value']").text(data.info);
	},
	'toJsonFomat' : function() {
		toJsonFomatjax.send();
	}
};